package com.nanhang.service;

import com.nanhang.studentsearch.StudentS0;
import com.nanhang.util.PageResult;
import com.nanhang.entity.Student;

import java.util.List;

public interface StudentService {
    List<Student> findAll();
    PageResult<Student> findByPage(Integer page, Integer pageSize);

    PageResult<Student> search(Integer page, Integer pageSize, StudentS0 students0);

    boolean save(Student student);

    boolean deletes(Integer sid);

}
